package com.java.test2;

public class Cat extends Animals {

	public Cat() {
		super();
		System.out.println("执行了Cat的默认构造方法：");
	}

	public Cat(String animalName, String animalSex, int animalAge) {
		super(animalName, animalSex, animalAge);
		System.out.println("执行了Cat的有参构造方法：");
	}

}
